package tech.hypersense.common.core.domain.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: HyperSense
 * @CreateTime: 2025-03-25
 * @Description: 键值对
 * @Version: 1.0
 */
@Schema(description = "键值对")
@Data
@NoArgsConstructor
public class KValue {
    public KValue(String key, String value) {
        this.key = key;
        this.value = value;
    }

    @Schema(description = "选项的值")
    private String key;

    @Schema(description = "选项的标签")
    private String value;
}
